package com.huacheng.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.huacheng.cms.model.Folder;
import com.huacheng.cms.model.vo.FolderVo;

@Repository
public interface FolderMapper {
	int deleteByPrimaryKey(Long folderid);

	int deleteBySelective(@Param("record") Folder record);

	int insertSelective(Folder record);

	Folder selectByPrimaryKey(Long folderid);

	int updateByPrimaryKeySelective(Folder record);

	int selectBySelectiveCount(Folder record);

	List<FolderVo> selectBySelective(@Param("record") Folder record, @Param("offset") long offset,
			@Param("rows") long rows);
}